package com.book.a20210523;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;

public class Main extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        Intent intent = new Intent(Main.this,MainActivity.class);

        (Main.this).overridePendingTransition(R.anim.in,
                R.anim.out);
        startActivity(intent);
        finish();
    }
}